package logic.facade;

import logic.service.GroupService;
import vo.GroupVO;
import vo.IValueObject;

/**
 *
 * @author Alexander
 */
/**
 * Fachada de Grupo
 */
public class GroupFacade extends Facade {

    /**Constructor De Fachada de Grupo, configura un Servicio de Grupo.*/
    public GroupFacade() {
        setService(new GroupService());
    }

    @Override
    protected boolean exist(IValueObject vo) {
        return !(super.find(((GroupVO) vo).getId()) == null);
    }

}
